package com.kmzx.one.project.mapper;

import com.kmzx.one.project.entity.UserPay;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
@Mapper
public interface UserPayMapper {

    int insert(UserPay record);

    void updateByIdSelective(UserPay userPay);

    List<UserPay>  findUserPayByUserId(@Param("userId") String userId);
}
